<!-- left menu starts -->
<div class="span2 main-menu-span">
	<div class="well nav-collapse sidebar-nav">
		<ul class="nav nav-tabs nav-stacked main-menu">
			<li class="nav-header hidden-tablet">
				Menu quản trị  
			</li>
			<li>
				<a class="ajax-link" href="<?php echo Yii::app()->createUrl('CategoryAdmin/Admin'); ?>"><span class="icon-globe"></span><span class="hidden-tablet"> Danh mục sản phẩm</span></a>
			</li>
            <li>
				<a class="ajax-link" href="<?php echo Yii::app()->createUrl('BrandAdmin/Admin'); ?>"><span class="icon-th-large"></span><span class="hidden-tablet"> Thương hiệu</span></a>
			</li>
			<li>
				<a class="ajax-link" href="<?php echo Yii::app()->createUrl('ProductAdmin/Admin'); ?>"><span class="icon-bookmark"></span><span class="hidden-tablet"> Sản phẩm</span></a>
			</li>
            <li>
				<a class="ajax-link" href="<?php echo Yii::app()->createUrl('OrderAdmin/Admin'); ?>"><span class="icon-star"></span><span class="hidden-tablet"> Hoá đơn</span></a>
			</li>
            <li>
				<a class="ajax-link" href="<?php echo Yii::app()->createUrl('OrderDetailAdmin/Admin'); ?>"><span class="icon-star-empty"></span><span class="hidden-tablet"> Chi tiết hoá đơn</span></a>
			</li>
            <li>
				<a class="ajax-link" href="<?php echo Yii::app()->createUrl('MerchantAdmin/Admin'); ?>"><span class="icon-signal"></span><span class="hidden-tablet"> Đại lý</span></a>
			</li>
            <li>
				<a class="ajax-link" href="<?php echo Yii::app()->createUrl('PriceAdmin/Admin'); ?>"><span class="icon-barcode"></span><span class="hidden-tablet"> Giá đại lý</span></a>
			</li>
            <li>
				<a class="ajax-link" href="<?php echo Yii::app()->createUrl('CityAdmin/Admin'); ?>"><span class="icon-star-empty"></span><span class="hidden-tablet"> Tỉnh thành</span></a>
			</li>
            <li>
				<a class="ajax-link" href="<?php echo Yii::app()->createUrl('LogoAdmin/Admin'); ?>"><span class="icon-fire"></span><span class="hidden-tablet"> Logo</span></a>
			</li>
			<li>
				<a class="ajax-link" href="<?php echo Yii::app()->createUrl('InfoAdmin/Admin'); ?>"><span class="icon-info-sign"></span><span class="hidden-tablet"> Thông tin</span></a>
			</li>
            <li>
				<a class="ajax-link" href="<?php echo Yii::app()->createUrl('SlideAdmin/Admin'); ?>"><span class="icon-play"></span><span class="hidden-tablet"> Slide trang chủ</span></a>
			</li>
            <li>
				<a class="ajax-link" href="<?php echo Yii::app()->createUrl('SubscriptionAdmin/Admin'); ?>"><span class="icon-check"></span><span class="hidden-tablet"> Subcription</span></a>
			</li>
            <li>
				<a class="ajax-link" href="<?php echo Yii::app()->createUrl('TagsAdmin/Admin'); ?>"><span class="icon-tags"></span><span class="hidden-tablet"> Tags</span></a>
			</li>
            <li>
				<a class="ajax-link" href="<?php echo Yii::app()->createUrl('SearchAdmin/Admin'); ?>"><span class="icon-search"></span><span class="hidden-tablet"> Tìm kiếm</span></a>
			</li>
            <?php
            	if(Yii::app()->user->getId()=='chuvantu@gmail.com'){
            ?>
            <li>
				<a class="ajax-link" href="<?php echo Yii::app()->createUrl('UserAdmin/Admin'); ?>"><span class="icon-user"></span><span class="hidden-tablet"> Người dùng</span></a>
			</li>
            <li>
				<a class="ajax-link" href="<?php echo Yii::app()->createUrl('PermissionAdmin/Admin'); ?>"><span class="icon-adjust"></span><span class="hidden-tablet"> Phân quyền</span></a>
			</li>
            <?php
            	}
            ?>
		</ul>
		<label id="for-is-ajax" class="hidden-tablet" for="is-ajax">
			<input id="is-ajax" type="checkbox"/>
			Ajax on menu
		</label>
	</div>
	<!--/.well -->
</div>
<!--/span-->
<!-- left menu ends -->